package com.example.japinhands.dao

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.Query
import androidx.room.Update
import com.example.japinhands.data.DeformAdj
import com.example.japinhands.data.DeformVerb

@Dao
interface VerbDao {
    @Insert
    fun insertDeformVerb(deformVerb: DeformVerb): Long

    @Query("delete from deform_verb")
    fun deleteDeformVerb()

    @Query("select * from deform_verb where id = :id")
    fun queryDeformVerbById(id: Long): DeformVerb?

    @Update
    fun updateDeformVerb(verb: DeformVerb)
}